We just released Hibernate Validator 6.1.6.Final which contains a few fixes and the new @Normalized
constraint.
This is a recommended upgrade for everyone using Hibernate Validator and it is a drop-in replacement for 6.1.5.Final.
We also released 6.0.21.Final.
What’s new
New @Normalized
constraint
The new @Normalized
constraint allows to validate a string is normalized in a given form.
Method parameters validation fix
In certain circumstances, you could get a stackoverflow error (infinite loop) when validating method parameters.
This has been fixed in 6.1.6.Final.
Full changelog
The complete list of fixed issues can be found on our JIRA.
Getting 6.1.6.Final
To get the release with Maven, Gradle etc. use the following GAV coordinates:
-
org.hibernate.validator:hibernate-validator:6.1.6.Final
-
org.hibernate.validator:hibernate-validator-cdi:6.1.6.Final
-
org.hibernate.validator:hibernate-validator-annotation-processor:6.1.6.Final
Note that the group id has changed from org.hibernate
(Hibernate Validator 5 and earlier) to org.hibernate.validator
(from Hibernate Validator 6 onwards).
Alternatively, a distribution bundle containing all the bits is provided on SourceForge (TAR.GZ, ZIP).
If you want to benefit from the new features of this version on WildFly, we also provide WildFly patches for WildFly 19 and WildFly 18.0.1. You can read about how to apply such patches here.
6.0.21.Final
We also released 6.0.21.Final containing some translation fixes and a backport allowing to access the property path in the constraint validator context.
Feedback, issues, ideas?
To get in touch, use the usual channels:
-
hibernate-validator tag on Stack Overflow (usage questions)
-
User forum (usage questions, general feedback)
-
Issue tracker (bug reports, feature requests)
-
Mailing list (development-related discussions)
-
Bean Validation development mailing list (discussions about the Bean Validation specification)